package com.ly.java.annotation4;

public class OtherAnnotationTest {
    // 数组是大括号
    @OtherAnnotation(age = 21, email = {"123456789@123.com", "2"}, seasonArray = Season.AUTUMN)
    public void doSomething() {

    }

    // 如果数组中只有1个元素，大括号可以省略。
    @OtherAnnotation(age = 21, email = "123456789@123.com", seasonArray = {Season.SPRING, Season.SUMMER})
    public void doOther() {

    }
}
